package com.example.makerspace.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PersonVO {
    private  Integer id;
    @Field(name = "phone", type = FieldType.Text)
    private  String phone;
    @Field(name = "name", type = FieldType.Text)
    private  String name;
    @Field(name = "avatar", type = FieldType.Text)
    private  String avatar;
    @Field(name = "idCard", type = FieldType.Text)
    private  String idCard;
    @Field(name = "industry", type = FieldType.Text)
    private  String industry;
    @Field(name = "background", type = FieldType.Text)
    private  String background;
    @Field(name = "remark", type = FieldType.Text)
    private  String remark;
    @Field(name = "map_address", type = FieldType.Text)
    private  String mapAddress;
    private  String createTime;
    private  String username;
    private  String email;
}
